﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
namespace OneMake.Model
{
    [PetaPoco.TableName("lz_m_shopop")]
    [PetaPoco.PrimaryKey("oid")]
    public class lz_m_shopop
    {
        [MapToField(FieldName = "统计日期")]
        public DateTime stat_datetime { get; set; }

        [MapToExcel(ColumnName = "时间")]
        public DateTime stat_hour { get; set; }

        [MapToExcel(ColumnName = "浏览量")]
        public int browses { get; set; }

        [MapToExcel(ColumnName = "访客数")]
        public int visits { get; set; }

        [MapToExcel(ColumnName = "回访客数")]
        public int oldcustomer { get; set; }

        [MapToExcel(ColumnName = "回访客占比")]
        public double per_oldcustomer { get; set; }

        [MapToExcel(ColumnName = "平均访问深度")]
        public double avg_vdepth { get; set; }

        [MapToExcel(ColumnName = "拍下件数")]
        public int shopcart_num1 { get; set; }

        [MapToExcel(ColumnName = "拍下笔数")]
        public int shopcart_num2 { get; set; }

        [MapToExcel(ColumnName = "拍下订单数")]
        public int shopcart_ordernum { get; set; }

        [MapToExcel(ColumnName = "拍下金额")]
        public double avg_shopcart { get; set; }

        [MapToExcel(ColumnName = "成交用户数")]
        public int n_users { get; set; }

        [MapToExcel(ColumnName = "成交回头客数")]
        public int n_oldcustomers { get; set; }

        [MapToExcel(ColumnName = "支付宝成交件数")]
        public int alipay_num1 { get; set; }

        [MapToExcel(ColumnName = "支付宝成交笔数")]
        public int alipay_num2 { get; set; }

        [MapToExcel(ColumnName = "支付宝成交订单数")]
        public int alipay_ordernum { get; set; }

        [MapToExcel(ColumnName = "支付宝成交金额")]
        public double per_alipay { get; set; }

        [MapToExcel(ColumnName = "人均成交件数")]
        public double avg_num1 { get; set; }

        [MapToExcel(ColumnName = "人均成交笔数")]
        public double avg_num2 { get; set; }

        [MapToExcel(ColumnName = "人均成交订单数")]
        public double avg_ordernum { get; set; }

        [MapToExcel(ColumnName = "当日拍下-付款件数")]
        public int day_order_count { get; set; }

        [MapToExcel(ColumnName = "当日拍下-付款笔数")]
        public int day_paid_num { get; set; }

        [MapToExcel(ColumnName = "当日拍下-付款订单数")]
        public int day_paid_ordernum { get; set; }

        [MapToExcel(ColumnName = "当日拍下-付款金额")]
        public double day_paid_amount { get; set; }

        [MapToExcel(ColumnName = "客单价")]
        public double uprice { get; set; }

        [MapToExcel(ColumnName = "收藏量")]
        public double favorites { get; set; }

        [MapToExcel(ColumnName = "当日拍下-支付率")]
        public double per_paid { get; set; }

        [MapToExcel(ColumnName = "成交回头客占比")]
        public double per_return1 { get; set; }

        [MapToExcel(ColumnName = "全店成交转化率")]
        public double per_return2 { get; set; }
        
		/////////////////////////////////////////
        [MapToField(FieldName = "门店编号")]
        public int shopid { get; set; }
        [MapToField(FieldName = "文件编号")]
        public int fileid { get; set; }
        [MapToField(FieldName = "编号")]
        public int oid { get; private set; }    
    }
}